body.highlights-page {
  background: #ffffff;
  overflow-x: hidden;
}


/* ============================================
   Highlights Section
   ============================================ */
.highlights {
  position: relative;
  z-index: 3;
  max-width: none;
  margin: 0;
  padding: 40px 70px;
  background: #ffffff;
}

.highlights-frame {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
  background: #ffffff;
}

.section-return-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(208, 162, 74, 0.72);
  border-radius: 50%;
  background: rgba(2, 11, 15, 0.78);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.section-return-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.section-return-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-return-button:hover,
.section-return-button:focus-visible {
  border-color: #d0a24a;
  background: rgba(208, 162, 74, 0.2);
  color: #d0a24a;
  outline: none;
}

.highlight-carousel {
  position: relative;
}

.highlight-window {
  overflow: hidden;
}

.highlight-carousel .cards {
  display: flex;
  gap: 28px;
  will-change: transform;
}

.highlight-carousel .card {
  flex: 0 0 calc((100% - 56px) / 3);
  will-change: transform, opacity;
}

.highlight-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.highlight-progress button {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(141, 98, 29, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.highlight-progress button.is-active {
  width: 44px;
  background: #d0a24a;
}

.highlight-progress button:focus-visible {
  outline: 2px solid #d0a24a;
  outline-offset: 4px;
}

.highlight-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(141, 98, 29, 0.42);
  border-radius: 50%;
  background: #ffffff;
  color: #8d621d;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(2, 11, 15, 0.24);
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.highlight-arrow--prev {
  left: -21px;
}

.highlight-arrow--next {
  right: -21px;
}

.highlight-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-arrow:hover,
.highlight-arrow:focus-visible {
  border-color: #d0a24a;
  background: #d0a24a;
  color: #020b0f;
  transform: translateY(-50%) scale(1.06);
  outline: none;
}

/* ============================================
   Cards Grid & Styling
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  height: 610px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  outline: 1px solid rgba(255, 255, 255, 0);
}

.card:hover {
  transform: translateY(-8px);
  filter: saturate(1.08) contrast(1.04);
  box-shadow: 0 18px 34px rgba(2, 11, 15, 0.26);
  outline-color: rgba(208, 162, 74, 0.55);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.85)
  );
  transition: background 0.3s ease;
}

.card:hover::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.90)
  );
}

.card:focus {
  outline: 3px solid #d0a24a;
  outline-offset: 4px;
}

/* Card Content */
.card-content {
  position: absolute;
  bottom: 35px;
  left: 27px;
  right: 25px;
  z-index: 3;
}

.card-content p {
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0.95;
  color: #ffffff;
}

.card-content h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  color: #ffffff;
}

.card-summary {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  transition: max-height 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
}

.card-action {
  width: fit-content;
  min-height: 34px;
  margin-top: 0;
  padding: 0 15px;
  opacity: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, margin 0.3s ease, opacity 0.3s ease;
}

.card:hover .card-summary,
.card:focus .card-summary {
  max-height: 72px;
  margin-top: 12px;
  opacity: 1;
}

.card:hover .card-action,
.card:focus .card-action {
  margin-top: 16px;
  opacity: 1;
}

/* ============================================
   Highlights Modal
   ============================================ */
body.modal-open {
  overflow: hidden;
}

.highlight-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(2, 11, 15, 0.42);
  backdrop-filter: blur(7px);
}

.highlight-modal[hidden] {
  display: none;
}

.highlight-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2, 11, 15, 0.66);
  backdrop-filter: blur(8px);
}

.highlight-detail-modal[hidden] {
  display: none;
}

.highlight-detail-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 26px;
  width: min(980px, 100%);
  padding: 24px;
  border: 1px solid rgba(208, 162, 74, 0.46);
  border-radius: 8px;
  background: rgba(2, 11, 15, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.highlight-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.highlight-detail-modal__image {
  min-height: 420px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.highlight-detail-modal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.highlight-detail-modal__body h2 {
  margin-top: 8px;
  font-family: Impact, "Arial Black", "Roboto Condensed", sans-serif;
  font-size: 44px;
  line-height: 1;
  text-transform: uppercase;
}

.highlight-detail-summary {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.5;
}

.highlight-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: rgba(208, 162, 74, 0.2);
}

.highlight-detail-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.highlight-detail-stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight-detail-stats dd {
  margin-top: 6px;
  color: #d0a24a;
  font-size: 13px;
  font-weight: 900;
}

.highlight-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.highlight-detail-actions .profile-action {
  margin-top: 18px;
}

.highlight-modal__panel {
  width: min(1480px, 100%);
  max-height: min(880px, calc(100vh - 68px));
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(208, 162, 74, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 80px rgba(2, 11, 15, 0.45);
  backdrop-filter: blur(18px) saturate(1.15);
}

.highlight-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  color: #ffffff;
}

.highlight-modal__header .eyebrow {
  margin-bottom: 8px;
}

.highlight-modal__header h2 {
  font-family: Impact, "Arial Black", "Roboto Condensed", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(190, 138, 45, 0.35);
}

.modal-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(2, 11, 15, 0.38);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.modal-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: #d0a24a;
  background: rgba(208, 162, 74, 0.2);
  color: #d0a24a;
  transform: translateY(-2px);
  outline: none;
}

.modal-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.modal-cards .card {
  height: 430px;
}

.highlight-modal .reveal {
  opacity: 1;
  transform: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-carousel .card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .modal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlights {
    padding: 30px 50px;
  }

  .section-title h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .upcoming-trials-frame {
    height: 920px;
  }

  .highlights-frame {
    height: 650px;
  }

  .highlight-arrow--prev {
    left: 10px;
  }

  .highlight-arrow--next {
    right: 10px;
  }

  .navbar {
    padding: 0 30px;
    height: 104px;
  }

  .section-return-button {
    right: 18px;
    bottom: 18px;
  }

  .nav-links {
    display: none;
  }

  .logo-image {
    width: 92px;
    height: 92px;
  }

  .logo h2 {
    font-size: 32px;
  }

  .nav-actions.is-search-open .nav-search-form {
    width: min(190px, calc(100vw - 250px));
  }

  .nav-search-input {
    width: min(190px, calc(100vw - 250px));
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-carousel .cards {
    gap: 20px;
  }

  .highlight-carousel .card {
    flex-basis: 100%;
  }

  .highlight-modal {
    padding: 16px;
  }

  .highlight-modal__panel {
    max-height: calc(100vh - 32px);
    padding: 18px;
  }

  .highlight-detail-modal {
    padding: 16px;
  }

  .highlight-detail-modal__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 18px;
  }

  .highlight-detail-modal__image {
    min-height: 260px;
  }

  .highlight-detail-modal__body h2 {
    font-size: 32px;
  }

  .highlight-detail-stats {
    grid-template-columns: 1fr;
  }

  .highlight-modal__header {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .highlight-modal__header h2 {
    font-size: 32px;
  }

  .card {
    height: 520px;
  }

  .highlights {
    padding: 25px 20px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .section-title h1 {
    font-size: 24px;
  }

  .card-content {
    bottom: 25px;
    left: 20px;
    right: 20px;
  }

  .card-content h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .upcoming-trials-frame {
    height: 860px;
  }

  .highlights-frame {
    height: 560px;
  }

  .navbar {
    padding: 0 15px;
    height: 84px;
  }

  .section-return-button {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 14px;
  }

  .logo-image {
    width: 70px;
    height: 70px;
  }

  .search {
    font-size: 24px;
  }

  .nav-actions.is-search-open .nav-search-form,
  .nav-search-input {
    width: min(150px, calc(100vw - 160px));
  }

  .card {
    height: 400px;
  }

  .modal-cards .card {
    height: 360px;
  }

  .card-content h2 {
    font-size: 18px;
  }

  .section-title h1 {
    font-size: 20px;
  }
}

